// 导入所有的组件
import HeadTool from "./HeadTool";
import uploadExcel from "./uploadExcel";
import imgUpload from "./ImgUpload";

//全屏按钮
import screenfull from "./screenfull";
// 换肤
import ThemePicker from "./ThemePicker";
// 语言
import lang from "./lang";
// 多页签
import TagsView from "./TagsView";
// 并暴露一个对象，对象里要有install方法
// 在install方法里注册组件
export default {
  install(Vue) {
    // 做注册了
    Vue.component("HeadTool", HeadTool);
    // 注册第二个
    Vue.component("uploadExcel", uploadExcel); // 注册导入excel组件
    // 注册第三个
    Vue.component("imgUpload", imgUpload);
    Vue.component("screenfull", screenfull);
    Vue.component("ThemePicker", ThemePicker);
    Vue.component("lang", lang);
    Vue.component("TagsView", TagsView);
  }
};
